const mongoose = require('mongoose');
var mongoosePaginate = require('mongoose-paginate');

var schema = new mongoose.Schema({ name: String, password: String, age: Number, marry: String, hight: String, weight: String, address: String, job: String, phone: Number, email: String });
schema.plugin(mongoosePaginate);

var User = mongoose.model('User', schema); // Model.paginate()

module.exports = User;